/**
  ******************************************************************************
  * @file    stm32f1xx_ll_flash.c
  * @author  Lijiaqi
  * @brief   flash LL module driver
  ******************************************************************************
  * @attention
  *
  * Copyright (c) GPL3.0.
  ******************************************************************************
  */

/* Includes ------------------------------------------------------------------*/
#include "stm32f1xx_ll_flash.h"

/*******************************************************************************
 * @brief: Get the BSY Flag.
 * @param: NONE.
 * 
 * @retval: 0 FLASH_BUSY 1 FLASH_IDLE
 ******************************************************************************/
uint8_t LL_FLASH_GetBSYFlag(void)
{
    if((FLASH -> SR & FLASH_SR_BSY1) == FLASH_SR_BSY1)
    {
        return 0;
    }
    return 1;
}


